import csv
from flask import Flask, request

server = Flask('app')

data_path = 'data.csv'

@server.route('/info')
def get_info():

  # 获得url中的id
  user_id = request.args.get('id')

  print("用户ID：", user_id)

  # 所有接口必须有返回值
  return 'Test Get ID'